#-------------------------------------------------
#
# Project created by QtCreator 2017-05-24T18:38:15
#
#-------------------------------------------------

QT       += core gui network concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

#关闭警告提示
CONFIG += warn_off

#程序版本
VERSION = 1.0.0.1
#程序图标
RC_ICONS = icon1.ico
#产品名称
QMAKE_TARGET_PRODUCT = 高压共轨能源系统
#版权所有
QMAKE_TARGET_COPYRIGHT = 中合聚能
#文件说明
QMAKE_TARGET_DESCRIPITION = Http: www..com AuthorEmail: 1335861732@qq.com

TARGET      = BMS
TEMPLATE    = app
MOC_DIR     = temp/moc
RCC_DIR     = temp/rcc
UI_DIR      = temp/ui
OBJECTS_DIR = temp/obj

CONFIG      += warn_off
HEADERS     += head.h
SOURCES     += main.cpp
RESOURCES   += other/main.qrc \
               other/image.qrc \
               other/qss.qrc

INCLUDEPATH += \
            $$PWD \
            $$PWD/api \
            $$PWD/form \
            $$PWD/canbus \
            $$PWD/log \
            $$PWD/childform \
            $$PWD/modelview \
            $$PWD/common \
            $$PWD/customui

include ($$PWD/api/api.pri)
include ($$PWD/form/form.pri)
include ($$PWD/canbus/canbus.pri)
include ($$PWD/log/log.pri)
include ($$PWD/childform/childform.pri)
include ($$PWD/modelview/modelview.pri)
include ($$PWD/common/common.pri)
include ($$PWD/customui/customui.pri)

INCLUDEPATH += \
            E:/DevelopTools/QtSdk/qucsdk/include \
            E:/DevelopTools/QtSdk/ggbondsdk/include

CONFIG(debug, debug|release) {
LIBS += \
    E:/DevelopTools/QtSdk/qucsdk/shared/qt_5_15_2_mingw81_64/bin/libqucd.a \
    E:/DevelopTools/QtSdk/ggbondsdk/shared/qt_5_15_2_mingw81_64/bin/libggbondqucd.a
} else {
LIBS += \
    E:/DevelopTools/QtSdk/qucsdk/shared/qt_5_15_2_mingw81_64/bin/libquc.a \
    E:/DevelopTools/QtSdk/ggbondsdk/shared/qt_5_15_2_mingw81_64/bin/libggbondquc.a
}

DEFINES += WIN64

win32 {
    contains(DEFINES,WIN64) {
        DESTDIR = $$PWD/bin64
        LIBS += $$PWD/lib64/ControlCAN.lib
    } else {
        DESTDIR = $$PWD/bin32
        LIBS += $$PWD/lib32/ControlCAN.lib
    }
}
